<template>
  <div class="Collect">
    <div class="top">
      <span class="fh"><van-icon name="arrow-left" @click="fh" /></span>
      <span>收藏夹</span>
    </div>
    <div class="mainCenter">
    </div>
  </div>
</template>

<script>
export default {
  name: "Collect",
  methods: {
    fh() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
.Collect {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mainCenter {
  flex: 1;
  overflow: auto;
}
.top {
  text-align: center;
  line-height: 3rem;
  border-bottom: 2px solid gray;
  position: relative;
  height: 3rem;

}
.fh {
  position: absolute;
  font-size: 20px;
  left: 1rem;
}
</style>